package com.xhj.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * 讲师(EduTeacher)实体类
 *
 * @author makejava
 * @since 2021-02-19 10:09:45
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("edu_teacher")
public class Teacher implements Serializable {
    private static final long serialVersionUID = 248569748680368604L;
    /**
    * 讲师ID
    */
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    /**
    * 讲师姓名
    */
    private String name;
    /**
    * 讲师简介
    */
    private String intro;
    /**
    * 讲师资历,一句话说明讲师
    */
    private String career;
    /**
    * 头衔 1高级讲师 2首席讲师
    */
    private Long level;
    /**
    * 讲师头像
    */
    private String avatar;
    /**
    * 排序
    */
    private Long sort;
    /**
    * 逻辑删除 1（true）已删除， 0（false）未删除
    */
    @TableLogic
    private Integer isDeleted;
    /**
    * 创建时间
    */
    @ApiModelProperty(value = "创建时间",example = "2021-01-01 8:00:00")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;
    /**
    * 更新时间
    */
    @ApiModelProperty(value = "修改时间",example = "2021-01-01 8:00:00")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;




}